<%@ page session="false"%>
<%@ include file="include.jsp"%>

<html>

<head>
	<link type="text/css" rel="stylesheet"
		href="<c:url value="/javascript/jsecurity.css"/>" />
	<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/icon.gif" type="image/gif"/>
</head>

<body onload="document.forms[0].elements[0].focus();">

<div id="contentBox" align="center">

<h1>Security Login</h1>

<form:form commandName="commDataLogin"
	action="${pageContext.request.contextPath}/basic/login" method="POST">
	<p><span style="color: red;"> <form:errors /> </span></p>
        Username: <form:input path="username" />
	<br />
	<br />
        Password: <form:password path="password" />
	<br />
	<br />
	<img src="${pageContext.request.contextPath}/basic/captcha-image">
	<br />
	<br />
	sec code: <form:input path="kaptchafield" />
	<br />
	<br />

	<input type="submit" value="Login" />
</form:form></div>
</body>

</html>